﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace Entity
{
    public class GroupVideo
    {
        #region[Public Properties]

        public string Id { get; set; }
        public string Name { get; set; }
        public string Tag { get; set; }
        public string Level { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string Keyword { get; set; }
        public string Ord { get; set; }
        public string Active { get; set; }
        public string Lang { get; set; }

        #endregion
        #region[GroupVideoDataReader]

        public static GroupVideo GroupVideoIDataReader(IDataReader dr)
        {
            var obj = new GroupVideo
            {
                Id = Convert.ToString(dr["Id"]),
                Name = Convert.ToString(dr["Name"]),
                Tag = Convert.ToString(dr["Tag"]),
                Level = Convert.ToString(dr["Level"]),
                Title = Convert.ToString(dr["Title"]),
                Description = Convert.ToString(dr["Description"]),
                Keyword = Convert.ToString(dr["Keyword"]),
                Ord = Convert.ToString(dr["Ord"]),
                Active = Convert.ToString(dr["Active"]),
                Lang = Convert.ToString(dr["Lang"])


            };
            return obj;
        }
        #endregion
    }
}
